package com.zhanghu.hibernate.entity;

import org.springframework.beans.factory.annotation.Value;

/**
 * @Author: zhanghu
 * @Description:
 * @Date: Create in 10:52 2020/1/8
 * @modified by:
 */
public interface NamesOnly {
    @Value("#{target.username + ' ' + target.name}")
    String getFullNames();
}
